package com.javatip.project.Controller.getUserInfo.mapper;


import org.apache.ibatis.annotations.Select;

public interface GetUserRoleMapper {


    @Select("SELECT role_id FROM sys_user_role WHERE user_id = #{currentUserId}")
    int getUserRole(Long currentUserId);
}
